package com.lzh.runke.core.enums;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.lzh.runke.core.web_base.enums.BaseEnum;
import com.lzh.runke.core.web_base.enums.deserializer.EnumDeserializer;

@JsonDeserialize(using = EnumDeserializer.class)
public interface CodeTypeBaseEnum extends BaseEnum {

    String getValue();

    default String getText() {
        return null;
    }

    String getName();
}
